using admin.core.Entities.App;

namespace admin.application.Services;

public interface IAppPermissionService
{
    Task<AppPermission> CreatePermissionAsync(AppPermission permission);
    Task<AppPermission?> UpdatePermissionAsync(Guid id, AppPermission permission);
    Task DeletePermissionAsync(Guid id);
    Task EnablePermissionAsync(Guid id);
    Task DisablePermissionAsync(Guid id);
    Task<AppPermission?> GetByCodeAsync(string code);
    Task<List<AppPermission>> GetAllPermissionsAsync();
} 